package com.tiger.cmpeb.sample2;

import java.io.Serializable;

public class Address01 implements Serializable {

	private static final long serialVersionUID = 1L;

	private String zipCode;

	private String country;

	private String prefecture;

	private String city;
	
	public Address01(){
		
	}
	
	public Address01(String zipCode, String country, String prefecture, String city) {
		this.zipCode = zipCode;
		this.country = country;
		this.prefecture = prefecture;
		this.city = city;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getPrefecture() {
		return prefecture;
	}

	public void setPrefecture(String prefecture) {
		this.prefecture = prefecture;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String toString() {
		return getZipCode() + " " + getCountry() + " " + getPrefecture() + " " + getCity();
	}

}
